﻿using System.Diagnostics.CodeAnalysis;

namespace PhoneNetTools.Dns
{
    /// <summary>
    /// Possible class values as defined by RFC 1035.
    /// </summary>
    [SuppressMessage("Microsoft.Design", "CA1028:EnumStorageShouldBeInt32", Justification = "This was not my decision. The API is designed this way.")]
    [SuppressMessage("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue", Justification = "This was not my decision. The API is designed this way.")]
    public enum QClass : ushort
    {
        /// <summary>
        /// The internet.
        /// </summary>
        IN = 1, 

        /// <summary>
        /// The CSNET class, obsolete.
        /// </summary>
        CS, 

        /// <summary>
        /// The CHAOS class.
        /// </summary>
        CH, 

        /// <summary>
        /// The Hesiod.
        /// </summary>
        HS, 

        /// <summary>
        /// Any class (*).
        /// </summary>
        Any = 255
    }
}